package practicalcases.auth.dao;

import java.util.HashMap;
import java.util.Map;

public class UserDaoImpl{

    private static Map<String, String> users;
    static {
        users = new HashMap<>();
        users.put("1001", "admin");
        users.put("1002", "root");
    }

    public String getPasswordByAppId(String id) {
        return users.get(id);
    }
}
